package com.atguigu.tms.mock.bean;

import com.baomidou.mybatisplus.annotation.IdType;

import java.util.ArrayList;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 机构范围表
 * </p>
 *
 * @author zhangchen
 * @since 2022-06-13
 */
@Data
public class BaseOrgan implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private  String orgName;
    /**
     * 行政级别
     */
    private Long orgLevel;

    private Long regionId;

    private Long orgParentId;

    /**
     * 多边形经纬度坐标集合
     */
    private String points;

    /**
     * 创建时间
     */
    private Date createTime;

    @TableField(exist = false)
    private String districtId;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记（0:不可用 1:可用）
     */
    private String isDeleted;


    @TableField(exist = false)
    private List<TruckTeam> truckTeamList=new ArrayList<>();

}
